package com.mz.ozy.mvp.view;

import android.content.Context;

import com.mz.ozy.base.BasePresenter;
import com.mz.ozy.base.BaseView;
import com.mz.ozy.bean.DynamicsDetailBean;

import org.json.JSONObject;

/**
 * @author
 * @date 2018/7/25
 * @description
 */
public class DynamicsDetailContract {

    public interface View extends BaseView {
        void getFiendDynamicsDetail(DynamicsDetailBean result);

        void commentDynamicsSuccess(JSONObject result);

        void followDynamicsSuccess(JSONObject jsonObject);

        void deleteDynamicsSuccess(JSONObject jsonObject);
    }

    public interface Presenter extends BasePresenter<View> {
        void queryDynamicsDetail(Context context, int did);

        void commentDynamics(Context context, int type, String cid, String pid, String uuid, String content);

        void followDynamics(Context context, int dynamicsID, int dynamicType);
    }


}
